package NiuKe.JianZhiOffer;

public class JZ5 {
    public static void main(String[] args) {
        JZ5 jz = new JZ5();
        System.out.println(jz.Fibonacci(4));

    }
    public int Fibonacci(int n) {
        if (n<=1) return 1;
        return Fibonacci(n-1) + Fibonacci(n-2);
    }
}
